All Questions
Tagged with pascalperformance
7 questions
5votes
1answer
526views
Expand every bit into a byte
I have the following code: ...
12votes
1answer
16kviews
Human-like mouse movement
The code will move the mouse from a start point (xs, ys) to finish point (xe, ye) like a human would. I'd like some help possibly shortening the code (by optimizing it) and making it more readable. ...
9votes
1answer
236views
Auto-click the sequence
The following Pascal script needs a bit of context for its purpose to be understood. For those who don't give about purpose, feel free to skip ahead. Background A game I'm terribly fond of has a ...
3votes
1answer
221views
Yellow Pages Search
I've written code in Free Pascal based on a contest problem (The contest insists that I have to write with Pascal). It works like charm, but I think it still need some improvements, from memory usage ...
8votes
1answer
556views
Enhancing speed of looping cycle using Freepascal
I use Lazarus 1.2.4 and Freepascal 2.6.4. I have created a program that reads a disk in buffers of 64Kb (tried various buffer sizes) using a repeat...until loop. Each buffer is hashed using the SHA1 ...
7votes
1answer
321views
Eight Directions Crossword
I solved a problem which you can read about here, but it gives me "time limit exceeded" even though it runs in 4 seconds. I really don't understand why. I don't think my code can be any simpler, ...
3votes
1answer
634views
Painting Tom Sawyer's Fence - programming on Free Pascal
Tom Sawyer has many friends who paints his fence. Each friend painted contiguous part of the fence. Some planks could stay unpainted, some could be painted several times. Program must output the ...